FROM nginx:alpine
COPY dev.nginx.conf /etc/nginx/nginx.conf
COPY . /usr/share/nginx/html
# 暴露端口 80
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]